package routes

import (
	"server/app/controllers/common"
	"server/app/middleware"
	"server/app/services"

	"github.com/gin-gonic/gin"
)

func SetUploadGroupRoutes(router *gin.RouterGroup) {
	authRouter := router.Group("").Use(middleware.JWTAuth(services.AppGuardName))
	{
		authRouter.POST("/auth/image_upload", common.ImageUpload)
		authRouter.POST("/auth/video/upload", common.VideoUpload)
	}
}
